
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title" style="line-height:33px">所有飞行要素</h3>
                    <button id="add" type="button" style="float:right" class="btn btn-info margin-r-5" data-toggle="modal" data-target="#myModal" data-rights='5003'>添加飞行要素</button>
                </div>
                <!-- /.box-header -->
                <div class="box-tools" style="border-radius: 0 0 3px 3px; padding:0 10px;">
                    
                </div>
                <div class="box-body">
                    <div class="dataTables_wrapper form-horizontal dt-bootstrap">
                        <div class="col-sm-12 filter-block">
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label class="col-sm-4 control-label">要素名称</label>
                                    <div class="col-sm-8">
                                        <input type="text" placeholder="要素名称" id="searchName" class="form-control">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label class="col-sm-4 control-label">要素类型</label>
                                    <div class="col-sm-8">
                                        <select name="atype" id="searchEtype" class="form-control">
                                            <option value="">请选择</option>
                                            <option value="0">起降点</option>
                                            <option value="1">途经点</option>
                                            <option value="2">加油点</option>
                                            <option value="3">机场</option>
                                            <option value="255">多边形空域</option>
                                            <option value="254">航线</option>
                                            <option value="253">圆形空域</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-1 pull-right">
                                <button data-rights='5001' id="search" type="button" class="btn btn-default margin-r-5">搜索
                                </button>
                            </div>
                        </div>
                    </div>
                    <table id="mmg" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th>要素ID</th>
                                <th>公司名称</th>
                                <th>要素名称</th>
                                <th>类型</th>
                                <th>有效日期</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            
                        </tbody>
                    </table>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
    <!-- 添加飞行要素 -->
    <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog" style="width: 800px">
            
        </div>
    </div>
    <!-- /.modal -->
    <!-- 地图 -->
    <div class="modal fade" id="mapModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
        aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog" style="width:80%;height:90%;">
            <!--<div class="modal-content bg-light-blue-gradient" style="border-radius: 5px;height:100%;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span></button>
                    <h4 class="modal-title">地图</h4>
                </div>
                <div class="modal-body">
                    <div id="container">
                    </div>
                    <div class="tab-notice">
                        <div class="ele-location">
                            <input type="text" id="place"/>
                            <input type="text" id="lngX"/>
                            <input type="text" id="latY"/>
                        </div>

                    </div>
                    <button type="button" class="btn btn-warning pull-right map_submit" data-dismiss="modal" aria-label="Close">提交</button>
                </div>
            </div>-->
        </div>
    </div>
</section>
<script>
require(["elementIndex"],function (list) {
list.init();
$('#myModal').modal('hide')
})
</script>